<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<c:set value="${pageContext.request.contextPath}" var="path"></c:set>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="${path}/assets/css/bootstrap.min.css" />
<link rel="stylesheet" href="${path}/assets/css/bootstrap-theme.css" />
<script type="text/javascript"
	src="${path}/assets/js/jquery-1.8.2.min.js"></script>
<script type="text/javascript" src="${path}/assets/js/bootstrap.min.js"></script>
<title>添加商品</title>
</head>
<body>
	<form action="${path}/saveProduct" class="form-horizontal" role="form" method="post">
		<input name="id"  type="hidden">
		<div class="form-group">
			<label for="firstname" class="col-sm-2 control-label">产品名称：</label>
			<div class="col-sm-10">
				<input name="name"  class="form-control" />
			</div>
		</div>
		<div class="form-group">
			<label for="firstname" class="col-sm-2 control-label">产品简介：</label>
			<div class="col-sm-10">
				<input name="description" 
					class="form-control" />：
			</div>
		</div>
		<div class="form-group">
			<label for="firstname" class="col-sm-2 control-label">产品数量：</label>
			<div class="col-sm-10">
				<input name="count" class="form-control" />
			</div>
		</div>
		<div class="form-group">
			<div class="col-sm-offset-2 col-sm-10">
				<button type="submit" class="btn btn-default">提交</button>
			</div>
		</div>
	</form>
</body>
</html>